LiteSpeed\Img_Optm D

Total Complexity 280
Dependencies 12
Dependents 7
Total lines 2,123
Lines of code 1,342
Logical lines of code 906
Comment lines 376
Methods 39
Properties 14

Methods 39

Method Rating Maintainability Complexity Lines of code
pull()
D
20
39 212
notify_img()
C
31 24 102
new_req()
B
31 19 115
_send_request()
A
40 13 56
handler()
A
46 14 40
_rescan()
A
38 12 67
_save_raw()
A
41 10 54
rm_bkup()
A
42 9 52
_destroy()
A
41 8 55
wp_update_attachment_metadata()
A
46 9 37
_calc_bkup()
A
43 8 49
_append_img_queue()
A
50 9 27
_switch_optm_file()
A
45 7 41
_switch_bk_file()
A
51 8 24
_batch_switch()
S
45 6 41
_filter_invalid_src()
S
53 7 20
_filter_legacy_src()
S
52 6 24
_destroy_optm_file()
S
54 6 19
batch_switch()
S
55 6 18
_calc_pull_threads()
S
52 5 23
_parse_wp_meta_value()
S
55 5 20
wet_limit()
S
60 5 13
reset_row()
S
51 4 25
img_count()
S
46 3 40
_filter_duplicated_src()
S
58 4 15
_gen_thumbnail_set()
S
60 4 14
check_img()
S
50 3 27
_del_bk_file()
S
57 3 16
clean()
S
58 3 15
_get_bk_size()
S
57 3 15
cron_running()
S
65 4 8
_update_cron_running()
S
62 3 12
async_handler()
S
65 3 9
__construct()
S
61 2 12
cron_auto_request()
S
69 2 7
start_async()
S
72 1 5
start_async_cron()
S
80 1 3
_finished_running()
S
76 1 4
_step_back_image()
S
69 1 6